<%-- 
    Document   : view_identitasLengkap
    Created on : Jan 16, 2014, 8:05:05 AM
    Author     : Muhammad Dony
--%>

<%@page import="java.util.List"%>
<%@page import="data.*"%>
<%@page import="database.*"%>
<%@include file="../Admin/header_admin.jsp" %>
<% //userdata user = (userdata) session.getAttribute("adminMasuk"); %>
<script src="res/js/jquery.dataTables.js"></script>
<script src="res/js/bootstrap.dataTables.js"></script>
<link href="res/css/dataTables.css" type="text/css"/>
<style>.pagination{margin:0}</style>
<div class="row">
    <div class="col-lg-6 col-lg-push-1">
        <h3>Identitas Pribadi</h3>
        <table id="table" cellpadding="0" cellspacing="0" border="0" class="table table-striped table-bordered">
<%
                    
                IdentitasData dataIdentitas = (IdentitasData) request.getAttribute("dataIdentitas");
                %>
                <tr>
                    <th>Nama Lengkap</th>
                    <td><%=dataIdentitas.getNama1()%></td> 
                </tr>
                <tr>
                    <th>Nama Panggilan</th>
                    <td><%=dataIdentitas.getNama2()%></td> 
                </tr>
                <tr>
                    <th>TTL</th>
                    <td><%=dataIdentitas.getTempat()%>, <%=dataIdentitas.getTanggal()%> <%=dataIdentitas.getBulan()%> <%=dataIdentitas.getTahun()%></td> 
                </tr>
                <tr>
                    <th>Alamat Lengkap</th>
                    <td><%=dataIdentitas.getAlamat()%></td> 
                </tr>
                <tr>
                    <th>Nomor HP</th>
                    <td><%=dataIdentitas.getHp()%></td> 
                </tr>
                <tr>
                    <th>Email</th>
                    <td><%=dataIdentitas.getEmail()%></td> 
                </tr>
                <tr>
                    <th>Jurusan</th>
                    <td><%=dataIdentitas.getJurusan()%></td> 
                </tr>
                <tr>
                    <th>Fakultas</th>
                    <td><%=dataIdentitas.getFakultas()%></td> 
                </tr>
                <tr>
                    <th>Universitas</th>
                    <td><%=dataIdentitas.getUniversitas()%></td> 
                </tr>
                <tr>
                    <th>Tinngi</th>
                    <td><%=dataIdentitas.getTinggi()%></td> 
                </tr>
                <tr>
                    <th>Berat</th>
                    <td><%=dataIdentitas.getBerat()%></td> 
                </tr>
                <tr>
                    <th>Darah</th>
                    <td><%=dataIdentitas.getDarah()%></td> 
                </tr>
                <tr>
                    <th>Motto</th>
                    <td><%=dataIdentitas.getMotto()%></td> 
                </tr>
   
        </table>
                
        <h3>Riwayat Pendidikan</h3>        
        <table id="table" cellpadding="0" cellspacing="0" border="0" class="table table-striped table-bordered">
            <thead>
            <tbody>
            <th>No</th>
            <th>Institusi</th>
            <th>Jurusan</th>
            <th>Tahun Masuk</th>
            <th>Tahun Tamat</th>
            </thead>
            <tbody>
                <%
                    List listpendidikan = (List) request.getAttribute("listpendidikan");
                    int n = 1;                  
                %>
                <% for (int i = 0; i < listpendidikan.size(); i++) {
                        PendidikanData data1 = (PendidikanData) listpendidikan.get(i);

                %>
                <tr>
                    <td><%=n++%></td>
                    <td><%= data1.getInstitusi()%></td>
                    <td><%=data1.getJurusan()%></td>
                    <td></i><%=data1.getMasuk()%></td>
                    <td></i><%=data1.getTamat()%></td>
                </tr>
                <% }%>
            </tbody>
        </table>
            
            <h3>Riwayat Organisasi</h3> 
        <table id="table" cellpadding="0" cellspacing="0" border="0" class="table table-striped table-bordered">
            <thead>
            <tbody>
            <th>No</th>
            <th>Organisasi</th>
            <th>Jabatan</th>
            <th>Tahun Pelantikan</th>
            <th>Tahun Pelepasan</th>
            </thead>
            <tbody>
                <%
                    List listorganisasi = (List) request.getAttribute("listorganisasi");
                    n = 1;                  
                %>
                <% for (int i = 0; i < listorganisasi.size(); i++) {
                        OrganisasiData data1 = (OrganisasiData) listorganisasi.get(i);

                %>
                <tr>
                    <td><%=n++%></td>
                    <td><%= data1.getOrganisasi()%></td>
                    <td><%=data1.getJabatan()%></td>
                    <td><%=data1.getAwal()%></td>
                    <td><%=data1.getAkhir()%></td> 
                </tr>
                <% }%>
            </tbody>
        </table>
        
            <h3>Riwayat Kepanitiaan</h3> 
        <table id="table" cellpadding="0" cellspacing="0" border="0" class="table table-striped table-bordered">
            <thead>
            <tbody>
            <th>No</th>
            <th>Panitia</th>
            <th>Jabatan</th>
            <th>Tingkat</th>
            <th>Tahun</th>
            </thead>
            <tbody>
                <%
                    List listpanitia = (List) request.getAttribute("listpanitia");
                    n = 1;                  
                %>
                <% for (int i = 0; i < listpanitia.size(); i++) {
                        PanitiaData data1 = (PanitiaData) listpanitia.get(i);

                %>
                <tr>
                    <td><%=n++%></td>
                    <td><%= data1.getKegiatan()%></td>
                    <td><%=data1.getJabatan()%></td>
                    <td><%=data1.getTingkat()%></td>
                    <td><%=data1.getTahun()%></td>  
                </tr>
                <% }%>
            </tbody>
        </table>
            
            <h3>Prestasi</h3> 
         <table id="table" cellpadding="0" cellspacing="0" border="0" class="table table-striped table-bordered">
            <thead>
            <tbody>
            <th>No</th>
            <th>Status</th>
            <th>Prestasi</th>
            <th>Tingkat</th>
            <th>Tahun</th>
            </thead>
            <tbody>
                <%
                    List listprestasi = (List) request.getAttribute("listprestasi");
                    n = 1;                  
                %>
                <% for (int i = 0; i < listprestasi.size(); i++) {
                        PrestasiData data1 = (PrestasiData) listprestasi.get(i);

                %>
                <tr>
                    <td><%=n++%></td>
                    <td><%= data1.getStatus()%></td>
                    <td><%=data1.getPrestasi()%></td>
                    <td><%=data1.getTingkat()%></td>
                    <td><%=data1.getTahun()%></td>  
                </tr>
                <% }%>
            </tbody>
        </table>
            
            <h3>Keahlian</h3> 
        <table id="table" cellpadding="0" cellspacing="0" border="0" class="table table-striped table-bordered">
            <thead>
            <th>No</th>
            <th>Bidang</th>
            <th>Jenis</th>
            <th>Tingkat</th>
            </thead>
            <tbody>
                <%
                    List listkeahlian = (List) request.getAttribute("listkeahlian");
                    n = 1;                  
                %>
                <% for (int i = 0; i < listkeahlian.size(); i++) {
                        KeahlianData data1 = (KeahlianData) listkeahlian.get(i);

                %>
                <tr>
                    <td><%=n++%></td>
                    <td><%= data1.getBidang()%></td>
                    <td><%=data1.getJenis()%></td>
                    <td><%=data1.getTingkat()%></td> 
                </tr>
                <% }%>
            </tbody>
        </table>
            
                         <a href="./Rekap_profil" class="btn btn-primary">
                            <i class="glyphicon glyphicon-pencil"></i> Kembali
                         </a>
    </div>
</div>
<%@include file="../Admin/footer_admin.jsp" %>